﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Core
{
    public struct CarTyre
    {
        public CarTyreWidth Width { get; set; }
        public CarTyreHeight Height { get; set; }
        public CarTyreDiameter Diameter { get; set; }

        public CarTyre(CarTyreWidth width, CarTyreHeight height, CarTyreDiameter diameter)
            : this()
        {
            this.Width = width;
            this.Height = height;
            this.Diameter = diameter;
        }

        public override string ToString()
        {
            return string.Format("{0} / {1} / {2}", this.Width, this.Height, this.Diameter);
        }
    }
}
